﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.ZSJL.com.Net;

namespace Service.ZSJL.Com.Net
{
    public interface ISmsService
    {
        /// <summary>
        /// 默认查找当天前七天到现在的短信回复
        /// </summary>
        /// <returns>返回七天内所有回复的短信</returns>
        List<SmsModel> GetReplySMSTable();

        /// <summary>
        /// 返回参数中的日期前七天的短信回复
        /// </summary>
        /// <param name="time">需要获取回复短信的日期</param>
        /// <returns>返回指定时间内的短信</returns>
        List<SmsModel> GetReplySMSTable(DateTime time);


        /// <summary>
        /// 发送短信，如需要群发短信电话号码以半角逗号分隔
        /// </summary>
        /// <param name="smsContent"></param>
        bool SendSms(SmsModel smsContent);



        /// <summary>
        /// 查询当前剩余的短信数量;
        /// </summary>
        /// <returns></returns>
        int CheckSumSms();
    }
}
